package com.trust.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.trust.entity.Breed;
import com.trust.entity.Param.BreedListParam;
import com.trust.entity.VO.BreedListVO;
import com.trust.entity.result.DropDownResult;

import java.util.List;

public interface BreedService extends IService<Breed> {

    /**
     * 获取名称
     * @param id
     * @return
     */
    String getNameById(Integer id);

    /**
     * 下拉框
     * @return
     */
    List<DropDownResult> dropDown();

    /**
     * 列表
     * @param param
     * @return
     */
    Page<BreedListVO> list(BreedListParam param);
}
